package com.baranbaygan.downloadmanager.events
{
	import com.baranbaygan.downloadmanager.DownloadFile;
	import com.baranbaygan.downloadmanager.DownloadPackage;
	
	import flash.events.Event;

	public class DownloadPackageEvent extends Event
	{
		private var _eventTargetDownloadFile:DownloadFile;
		private var _downloadPackage:DownloadPackage;
		
		public function get TargetDownloadPackage():DownloadPackage{ return _downloadPackage; }
		public function set TargetDownloadPackage(value:DownloadPackage):void{ _downloadPackage=value; }

		public function get EventTargetDownloadFile():DownloadFile
		{
			return this._eventTargetDownloadFile;
		}
		public function set EventTargetDownloadFile(value:DownloadFile):void
		{
			this._eventTargetDownloadFile=value;
		}		
		
		public function DownloadPackageEvent(type:String, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			super(type, bubbles, cancelable);
		}
		
	}
}